package hmis.pos.Service;

import hmis.pos.Base.BaseService.BaseService;
import hmis.pos.Entity.RoomMessage;

import java.util.List;


public interface RoomMessageService extends BaseService<RoomMessage> {

    //根据房型查询房间信息
    List<RoomMessage> findByType(String type);

    //增加房间信息
    RoomMessage save(RoomMessage roomMessage);

    //删除房间信息
    boolean delete(RoomMessage roomMessage);

    //更新房间信息
    RoomMessage update(RoomMessage roomMessage);

    //根据房间号查找房间信息
    RoomMessage findByRoomid(int roomid);
}
